<html>
<head>
	<title>Login</title>
</head>

<body>
<?php
session_start();

if (!isset($_SESSION['username']) && !empty($_SESSION['username'])) {
	$my_username = $_SESSION['username'];
	echo $my_username;
}
?>
<form name="frmLogin" method="post" action="check_login.php">
Username: <input type="text" id="txtUsername" name="txtUsername" /><br />
Password: <input type="password" id="txtPassword" name="txtPassword" /><br />
<input type="submit" value="Login" id="btnSubmit" />
</form>
</body>
</html>
